/* *****************************************************************************
 * JFab (http://code.google.com/p/jfab)
 * Copyright (c) 2011 JFab.org
 * Admin jfab@jeffreythompson.net
 *
 * See the file "LICENSE.txt" for information on usage and redistribution of
 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
 * *****************************************************************************/


package org.jfab.core.alert;

import java.io.Serializable;

import java.util.Date;


/**
 * The persistent class for the ALERT_DETAIL database table.
 */
public class AlertDetail implements Serializable
{
    /** Serial version UID. */
    private static final long serialVersionUID = 1L;

    /** Alert. */
    private Alert alert;

    /** Alert detail ID. */
    private long alertDetailId;

    /** Create date. */
    private Date createDate;

    /** Created by. */
    private String createdBy;

    /** Key. */
    private String key;

    /** Text. */
    private String text;

    /**
     * Construct this object.
     */
    public AlertDetail()
    {
        // Nothing to do.
    }

    /**
     * @return  data.
     */
    public Alert getAlert()
    {
        return this.alert;
    }

    /**
     * @return  data.
     */
    public long getAlertDetailId()
    {
        return this.alertDetailId;
    }

    /**
     * @return  data.
     */
    public Date getCreateDate()
    {
        return this.createDate;
    }

    /**
     * @return  data.
     */
    public String getCreatedBy()
    {
        return this.createdBy;
    }

    /**
     * @return  data.
     */
    public String getKey()
    {
        return this.key;
    }

    /**
     * @return  data.
     */
    public String getText()
    {
        return this.text;
    }

    /**
     * @param  alertIn  Data.
     */
    public void setAlert(Alert alertIn)
    {
        this.alert = alertIn;
    }

    /**
     * @param  alertDetailIdIn  Data.
     */
    public void setAlertDetailId(long alertDetailIdIn)
    {
        this.alertDetailId = alertDetailIdIn;
    }

    /**
     * @param  createDateIn  Data.
     */
    public void setCreateDate(Date createDateIn)
    {
        this.createDate = createDateIn;
    }

    /**
     * @param  createdByIn  Data.
     */
    public void setCreatedBy(String createdByIn)
    {
        this.createdBy = createdByIn;
    }

    /**
     * @param  keyIn  Data.
     */
    public void setKey(String keyIn)
    {
        this.key = keyIn;
    }

    /**
     * @param  textIn  Data.
     */
    public void setText(String textIn)
    {
        this.text = textIn;
    }
}
